home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 28
/
Aminet 28 (1998)(GTI - Schatztruhe)[!][Dec 1998].iso
/
Aminet
/
dev
/
basic
/
ace_final.lha
/
ACE_GPL_Release
/
include
/
ace
/
fexists.h
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS
UTF-8
Wrap
Text File
|
1996-08-29
|
337 b
|
20 lines
/* FEXISTS(x$) -- returns true if file exists otherwise false.
Author: David J Benn
Date: 28th February 1993,
2nd January 1994 */
sub fexists(x$)
if x$="" then
fexists=0
else
open "I",#255,x$
if handle(255) <> 0& then
close #255
fexists=-1
else
fexists=0
end if
end if
end sub